﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;

namespace Cache
{
    /// <summary>
    /// 缓存时间，秒单位
    /// </summary>
    [Description("缓存时间")]
    public enum EnumCacheTime
    {
        /// <summary>
        /// 全局时间一年
        /// </summary>
        [Description("全局时间")]
        Global = 365 * 24 * 60 * 60,

        /// <summary>
        /// 配置时间一天
        /// </summary>
        [Description("配置时间")]
        Config = 24 * 60 * 60,

        /// <summary>
        /// 页面时间4个小时
        /// </summary>
        [Description("页面时间")]
        View = 4 * 60 * 60,

        /// <summary>
        /// 每小时
        /// </summary>
        [Description("每小时")]
        Hour = 1 * 60 * 60
    }
}
